package com.bowen.chapter03.refactor;

public class Employee {

    /**
     * 雇员名字
     */
    protected String name;

    public Employee(String name) {
        this.name = name;
    }


    /**
     * 构造函数结束
     */
    protected void finishConstruction() {
        if (this.isExcellentStaff()) {
            this.assignCar();
        }
    }

    protected boolean isExcellentStaff() {
        return false;
    }

    protected void assignCar() {
    }
}
